package com.example.demo.mapper;


import com.example.demo.pojo.Fight;
import com.example.demo.pojo.FightExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FightMapper {
    int countByExample(FightExample example);

    int deleteByExample(FightExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Fight record);

    int insertSelective(Fight record);

    List<Fight> selectByExample(FightExample example);

    Fight selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Fight record, @Param("example") FightExample example);

    int updateByExample(@Param("record") Fight record, @Param("example") FightExample example);

    int updateByPrimaryKeySelective(Fight record);

    int updateByPrimaryKey(Fight record);
}